


//
//  UILabel+CXAddition.m
//  02-新特性界面
//
//  Created by 小宇 on 17/5/18.
//  Copyright © 2017年 itheima. All rights reserved.
//

#import "UILabel+CXAddition.h"
#import "UIColor+CXAddition.h"
@implementation UILabel (CXAddition)

+(instancetype)cx_textLabel:(NSString *)title fontSize:(CGFloat)fontSize Color:(int32_t)hex{

	UILabel *label = [[self alloc] init];

	label.text = title;

	label.font = [UIFont systemFontOfSize:fontSize];

	label.textColor = [UIColor hm_colorWithHex:hex];

	[label sizeToFit];

	return label;
}
@end
